package com.ctshk.rpc.air.entity.es;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 机票产品税费
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-03-30
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class AirProductCostTaxationEs implements Serializable {

    private static final long serialVersionUID = 1L;

    @Field(type = FieldType.Long)
    @ApiModelProperty(value = "税费类型")
    private Long taxationType;

    @Field(type = FieldType.Text)
    @ApiModelProperty(value = "税费名称")
    private String taxationName;

    @Field(type = FieldType.Double)
    @ApiModelProperty(value = "税费金额")
    private BigDecimal amount;

}
